/**
 * 
 */
package com.evon.yardmanagement.service;

import java.util.List;


import com.evon.yardmanagement.model.Vendor;
import com.evon.yardmanagement.model.Section;
import com.evon.yardmanagement.ui.dto.SectionDTO;


/**
 * @author Sandeep
 *
 */
public interface ISectionManagementSevice {
	
	/**
	 * Create the section in data base.
	 * Return true if successfully created else return false.
	 * @param section
	 * @return
	 */
	public int addSection(SectionDTO section);
	
	/**
	 * Return all sections belonging to the company
	 * @param company
	 * @return
	 */
	public List<Section> getSectionDetails(Vendor company);
	
	/**
	 * Deactivate the section 
	 * @param section
	 * @return
	 */
	public boolean deactivateSection(Section section);
	
	/**
	 * Return all the sections available.
	 * @return
	 */
	public List<Section> getAllSections();
	

	public List<Section> getAllSectionsForExportToExcel();
	
	public List<Section> getSectionByYardId(Integer integer);
	
	public List<Section> getSectionBySectionId(Integer integer);
	
	public boolean setActiveSectionBySectionId(List<Section> Section);
}
